//package org.ala.tiktools.mybatis.pager;
//
//import org.ala.tiktools.mybatis.commons.SqlSessionTemplateHolder;
//import org.ala.tiktools.mybatis.expand.ExpandData;
//import org.ala.tiktools.mybatis.interceptor.IAnnotationInterceptor;
//import org.ala.tiktools.mybatis.interceptor.InterceptResult;
//import org.ala.tiktools.mybatis.spring.TikToolsMyBatisSpringConfiguration;
//import org.ala.tiktools.mybatis.spring.TikToolsMyBatisSpringContext;
//
//import java.lang.annotation.Annotation;
//import java.lang.reflect.Method;
//import java.util.Map;
//
///**
// * @author ala
// * @date 2025-01-10 14:16
// */
//public class PagerAnnotationInterceptor implements IAnnotationInterceptor<Pagement> {
//
//
//    protected PagerHandler pagerHandler = new PagerHandler();
//
//    @Override
//    public Class<Pagement> annotation() {
//        return Pagement.class;
//    }
//
//
//    @Override
//    public InterceptResult intercept(Pagement anno, Object proxy, Method method, Object[] args, Map<String, ExpandData> expandDatas) throws Exception {
//        return InterceptResult.build(pagerHandler.doPager(anno, method, args, expandDatas, SqlSessionTemplateHolder.getInstance()), true);
//    }
//}
